ODE Refresher
1st-order linear
Integrating factor
leading coefficient is 1
multiply the ODE by \(\mu(t)\)
integrate both sides and solve for \(y\)
Integrating factor
leading coefficient is 1
multiply the ODE by \(\mu(t)\)
integrate both sides and solve for \(y\)
integrate both sides
it will show up later when we solve the heat equation
there is a 1st-order linear that needs to be solved
this can also be solved as a separable eq.
Constant
in the context of heat eq, this tells us how heat dissipates as a function of time for a given \( \lambda \) and position.
solutions are of the form \( e^{rt} \)
\( r \) is solution of the characteristic eq.
if \( k = 0, r = 0, 0, y = C_1 + C_2 t \) (line)
if \( k > 0, r = \pm \sqrt{-k} = \pm i \sqrt{|k|} \)
if \( k < 0, r = \pm \sqrt{|k|} \)
This shows up when we solve the heat, wave, and Laplace's eqs.
(Note: X is uppercase)
In the context of heat eq, this governs the space part of the solution (how temperature varies w/ position if time is fixed).
Now briefly about nonhomogeneous 2nd-order
In the context of mass-spring system: \[ mx'' + kx = f(t) \]
When \[ f(t) = F_0 \sin(\omega t) \] (sinusoidal input)
w/o input: \[ mx'' + kx = 0 \]
w/ input:
Note: \( x_p \) is the particular solution.
If \( \omega \neq \omega_0 \) (input freq \( \neq \) natural freq)
We can solve using the method of undetermined coefficients:
Let the particular solution be:
Sub into the ODE:
There is trouble if \( k = m\omega^2 \) or \( \omega = \sqrt{\frac{k}{m}} \).
But if input freq = natural freq \( \left( \omega = \sqrt{\frac{k}{m}}, \quad k - m\omega^2 = 0 \right) \):
\( x_p \) needs to be adjusted due to duplication of complementary solution.
Sub into \( mx'' + kx = F_0 \sin(\omega t) \):
Note: The term \( t \cos(\omega t) \) goes to \( \infty \) as \( t \) grows.